﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Purchase.Domian.Model
{
    public class PurchaseContractModel:EntityModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int PurId { get; set; }
        /// <summary>
        /// 采购合同编号
        /// </summary>
        public string PurCode { get; set; }
        /// <summary>
        /// 签订日期
        /// </summary>
        public DateTime PurDate { get; set; }
        /// <summary>
        /// 供应商表主键
        /// </summary>
        public int SupId { get; set; }
        /// <summary>
        /// 到货日期
        /// </summary>
        public DateTime PurEndDate { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        public decimal PurPrice { get; set; }
        /// <summary>
        /// 注释
        /// </summary>
        public string Remark { get; set; }
    }
}
